package org.study.article.service;

import org.study.article.model.ArticleRecord;
import org.study.article.model.vo.ArticleRecordSubmitVo;

import java.util.List;

public interface ArticleService {

    int insert(ArticleRecordSubmitVo data);

    List<ArticleRecord> listAll();

    ArticleRecord listById(int id);

    List<ArticleRecord> listByUid(int uid);

    ArticleRecord selectByPrimaryKey(Long id);

    void update(ArticleRecordSubmitVo data);
}
